class Student:
    __name = "张三"

    def __test(self):
        print("私有方法调用")

    def run(self):
        print("访问私有属性:"+self.__name)
        self.__test()

s = Student()
s.run()